"eof"是什么意思?

来源:百度知道 编辑:UC知道 时间:2024/06/18 23:27:34
if rs.eof then
response.redirect "index.asp"
end if

eof 指最后一条记录的后面.
rs 是记录集.
这几句的意思是;查找,若到了最后的一条后面(说明前面没有查到)就重定向到index.asp

嗯。
EOF 就是 End Of File,如果是True表示读完了。
rs 就是Record Set,如楼上的所说是记录集。

查找的意思

找不到该条纪录